#include "AntiGyro.h"

namespace Horizon{

bool AntiGyro::is_Gyro(){
    for (size_t i = 0; i < armors.size(); i++)
    {
        armors[i].h_yaw_angle_ = getAngle(armors[i]);
    }

    Speed speed;
    if(!judgeIsRelevant()){
        return true;
    }
    
    speed =  getPalstance();

    if(speed.direction != 0){
        
        return true;
    }else{
        return false;
    }
}


}

